package com.sm.service;

import com.sm.model.SecondSort;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sm.dao.SecondSortMapper;

@Service
public class SecondSortService {

	
	@Autowired
	private SecondSortMapper secondSortMapper;
	
	/**
	 *	通过商品二级类别id查询商品二级类别数据
	 * @param secondSortId
	 * @return
	 */
	public SecondSort selectSecondSortById(Integer secondSortId) {
		return secondSortMapper.selectByPrimaryKey(secondSortId);
	}
	
	
	
	
}




















